﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SendEMail.aspx.cs" Inherits="SendEMail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table id="tblMain" cellpadding="5" cellspacing="0"  width="100%">
        <tr><td bgcolor="#EBE7E7">
            <table style="width: 100%">
        <tr>
            <td style="width: 448px">
                SendEMail Interface</td>
            <td align="right">
                <asp:LinkButton ID="btnSend" runat="server" onclick="btnSend_Click">SEND</asp:LinkButton>
            </td>
        </tr>
    </table>
    </td></tr>
    </table>
<table id="Table1" cellpadding="0" cellspacing="1"  width="100%">
<tr><td>
<div id="div1" runat=server>
    <table cellspacing=0 style="width: 100%">
        <tr>
            <td bgcolor="#EBE7E7" style="width: 88px" valign="top">To:</td>
            <td valign="top"><asp:TextBox ID="txtTo" runat="server" Width="450px"></asp:TextBox>
                &nbsp;<asp:CheckBox ID="chkAllDatabaseContacts" runat="server" AutoPostBack="True" 
                    oncheckedchanged="chkAllDatabaseContacts_CheckedChanged" 
                    Text="All Database Contacts" />
            </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 88px">
                Subject:</td>
            <td>
                <asp:TextBox ID="txtSubject" runat="server" Width="600px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 88px" valign="top">
                Message:</td>
            <td>
                <asp:TextBox ID="txtMessage" runat="server" Height="232px" TextMode="MultiLine" 
                    Width="684px"></asp:TextBox>
            </td>
        </tr>
    </table>
    <div id="div2" runat=server>
<table width=100% style="height: 100px">
<tr><td style="text-align: center">EMail Successfully Sent</td></tr>
</table>
</div>
</div>
</td></tr>
</table>
</asp:Content>